#ifndef SELECTPDFFORM_H
#define SELECTPDFFORM_H

#include <QWidget>

namespace Ui {
class SelectPdfForm;
}

class SelectPdfForm : public QWidget
{
    Q_OBJECT

public:
    explicit SelectPdfForm(const int id, QWidget *parent = 0);
    ~SelectPdfForm();

    void SetFileName(const QString& fileName);
    QString GetFileName()const{
        return fileName_;
    }
    bool isChecked();

signals:
    void sig_clearRecord(int id);

public slots:
        void slot_changeState(int id,QString state);

private slots:
    void on_pushButton_clear_clicked();



private:
    Ui::SelectPdfForm *ui;
    int id_;
    QString fileName_;
    QString state_;
    bool isChecked_{false};
};

#endif // SELECTPDFFORM_H
